<?php include '../../../entries/restful.php';
include_once '../common.php';
/**
 *  用户信息
 */
class Surface extends Restful{

    public function action(){
        $user = json_decode($this->session->getItem('user'),true);
        return Res::ok($user);
    }
}

new Surface();